package com.emm.yixun.report.domain;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 整体营销完成情况表; InnoDB free: 14336 kB
 *
 */
@TableName("tr_sales_info")
public class SalesInfo implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 商户id */
	@TableField(value = "merchant_id")
	private Long merchantId;

	/** 总签约金额 */
	@TableField(value = "total_sign_amount")
	private BigDecimal totalSignAmount;

	/** 全年指标 */
	@TableField(value = "sales_target")
	private BigDecimal salesTarget;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 是否删除 0 未删除 1已删除 */
	@TableField(value = "del_flag")
	private String delFlag;

	/** 1 签约 2 回款 3 认购 */
	private String type;
	
	/** 完成占比：总签约金额 / 全年指标  */
	@TableField(exist= false)
	private String completeAccount;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getMerchantId() {
		return this.merchantId;
	}

	public void setMerchantId(Long merchantId) {
		this.merchantId = merchantId;
	}

	public BigDecimal getTotalSignAmount() {
		return this.totalSignAmount;
	}

	public void setTotalSignAmount(BigDecimal totalSignAmount) {
		this.totalSignAmount = totalSignAmount;
	}

	public BigDecimal getSalesTarget() {
		return this.salesTarget;
	}

	public void setSalesTarget(BigDecimal salesTarget) {
		this.salesTarget = salesTarget;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDelFlag() {
		return this.delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getCompleteAccount() {
		return completeAccount;
	}

	public void setCompleteAccount(String completeAccount) {
		this.completeAccount = completeAccount;
	}

}
